package ren.nearby.http.request;


/**
 * Created by Administrator on 2019/3/12.
 */

public class HttpResultBean14K<T> {
    public static final int FAILURE = 0;
    public static final int SUCCESS = 1;
    public static final int SIGN_OUT = 2;

    public int code;
    public String msg;
    public String time;
    public T data;

    public Optional<T> transform() {
        return new Optional<>(data);
    }

}
